Started angular_deviation() function