Bugfix

Corrected bug fix if z-coordinate is negative (like ocean depth for
instance)
Add grid

Adding a 3D grid to the example