Fixed rounding errors screwing up test cases.