UnitTests CuboidGenerator, Documentation

- Added unit tests for CuboidGenerator
- Added documentation for CuboidGenerator
- Fixed a bug and cleaned up the code in CuboidGenerator
- Improved some other documentation
- Implemented namespace unitTest