Added error reporting for CUDA errors and missing compiler errors. Added tesests to test memory limits in gmm specializer.