Add arclength function from MathWorks File Exchange

Source URL:
http://www.mathworks.com/matlabcentral/fileexchange/34871-arclength