function R = radians(D)
%function that converts degrees to radians
R = D.*pi./180;