Updated mat_rob_least_squares().