Full port of the population synthesis code and addition of a stand-alone population synthesizer application.