changed the order of indiv matrix now it is noOfIndividuals X NoOMarkerLoci X No of Populations
added file to write out subset of population