Email Record: Least squares data fitting with applications /