Feature/3d random grid

Improved documentation, fixed use of the box API and improved formatting + tests