bug fix to plotDgam
bug fix to sim.popn.secrgam
bug fix to prepare.mask.bases
bug fix to secrgam.fit