Evolution of Complex Traits: A Case Study in Plant Photosynthesis