Put in small change that should hopefully allow you to open the gripper if you feed in an angles vector with more than 7 elements in it....Feed in 9 instead and set the 8th and 9th to non zero values.