Fixed rounding of row sums. Fixes #76.