Adds exception for MemoryError when creating cube object, and prints exp...

...ected memory footprint.