initial version of zfactor
added a second plot mode. Also added colors
allow for future possibility of different number of ops from levels
determine number of levels and ops separately
don't take modulus until required. Provide a simple check
added labels and fixed up axis tick
make zfactors only up to some level