Slicing methods for deep learning on volumetric data