added proc_ploidy to pwin.cpp