added posDiffs function to CycleRoll module