Fixed a few bugs in the parallel shallow water code. Seems to be working for low level code. Need to check Ole' parallel api