From math.stackexchange I learned that solving an overconstrained set of linear equations such that the sum of errors is minimized (contrary to the sum of squared errors) is cal