Fix int division in reducers

Picked up when stepping through the chord outputs (thanks Mark).

I don't believe we're using either of these functions yet (thankfully).