A generalized least squares handover algorithm for wireless systems