Fixing bug in generatePoses