changed sin and cos values to radians as per their correct input params require