adding plotNM.byPC, plotPopQuants functions.