added support for using matlab functions as handles in mma