Fix half_even rounding

Closes #6.