updated to work with new graspingmath version