Pure Haskell library for reading and writing PGMs. New upstream.