Abstract MATLAB classes to be reused