Make generic getAngle to use the preferred method of angle-measuring.