C++ modules callable from Matlab