Add missing header file (cstdlib) for std::exit
Since the TMatrix is used in an inline function, use the real header file