Changed to proper cube hierarchy coordinates
Split based on fractions of model bounding box, instead of bounding cube
Refactored out method
Applied code formatting
Allow Y Z flip
Fixed YZ flip. Modified to strip out everything but the X Y Z components
Refactored out header creation method
Reduced some Try-with-resources blocks
Fixed Some multilining