SMS: The calculus of observations: a treatise on numerical mathematics