Add help to MemoryError 

To fix issue #518

Made a basic MemoryError class that adds information on what could have caused a memory error.

datasets/preprocessing only catches memory errors related to GPU.