mex file for GraspIt! interface