Fix rounding so rows sum to 1.0