Fixed a bug in degreeElevate.
Added closest.