Fixed so now single generation

Also worked out density dependent dispersal.