fixed bug in calibrate for ols - had forgotten intercept (thanks: Andy Bush <ajbush@bellsouth.com>; tidied code