Least squares line fitting (Hogg, Bovy, Lang)