Adding some documentation for the 3d script