Fixed bug in boundary conditions

I had forgotten to deal with the u=0 at the ends.