function r = d2r(d)
%d2r version 0.1.0
%a simple convertion function
%degrees to radians
%syntax: {angle in radians}=d2r({angle in degrees})
%Author: Nathan Dumont, October 2005

r=d/180*pi;