added coefficient to angle value function and made returns all integers