function [lsqf] = lsfit(meas,mod)
%lsfit determines least square fit between two profiles 
% Code associated with journal article 'Measuring and modeling contractile
% drying in human stratum corneum' by X. Liu and G. K. German for the Journal
% of Visualized Experiments 
%  Written G. K. German 2012
lsqf = mean(abs((mod-meas).^2));
end

