Population is handled as double now (internally); added some comments