least-squares-problems-and-optimal-state-estimates.pdf