Normalizing a vector to sum to one does not work?