Minor changes to mesh and 3d plotting