Vegetation and the terrestrial carbon cycle :modelling the first 400 million years