Improved efficieny of modulo function
Merge branch 'master' of https://github.com/mspraggs/pyQCD