Fixed nats-1 dependency.

The package nats was recently updated to version 1. The difference between this and the preceding version was the use of the Whole typeclass. I fixed the code removing that derivation, and bumping nats constraints in the cabal file.