Working copy

Mostly modifications in the carbon allocation routine. no changes in the soil programs.