fixed PCG in the generic implementation
Merge branch 'master' of github.com:lostella/amnm