Fixed bug in 3d code in mixedgradientpressure b.c.