initial commit, copied over from sean's files, needed for plotLenFit in scal_plots.r