Fitting Linear Relationships: A History of the Calculus of Observations 1750-1900