add some documentation and an example for the geometry::cube template