This function returns the smallest angle between two specified angles.
Returns the smallest angle between the two angles, in degrees.