Added getCycledValue, fixed non-working angle rotation functions