missing Eq constraints

Fix for error during cabal install from hackage.

```
src/Bounce/Math.hs:53:10:
    Could not deduce (Eq a) arising from a use of `scanM'
    ...
src/Bounce/Math.hs:59:10:
    Could not deduce (Eq c) arising from a use of `scanM'
    ...
```