Generalized inverses of partitioned matrices and recalculation of least squares estimates for data or model changes