added support for degrees and radian output in distance