Corrected weight vector computation