The Theory of Errors and Method of Least Squares