Fixed the accidental deletion of getting cube type. Added a function to
return the cube type of a viewing Item Cube.