Header file with C++ class wrapper and other related utilities for creating mex interfaces to C++