least squares module still incomplete