Check the manual entry for phent_setmass, there are some parameters missing in your code.