Linear Dependence in Least Squares Analysis, with an Application to Internal Rotation