Fix error in diff_angle when angle very small