Boundary terms u'\basphi_i at points \xno{i} where Dirichlet values apply can always be forgotten.
Assemble entries for i=0,\ldots,N=N_n and then modify the last equation to c_N=D