Changed multipopulation to work with new output daat