Deal with empty GP
Fix bug in slice_2d
Prettify 2d output
Fix typo on 1d output