projected loss cost least squares method