The Mathematics of Photosynthesis and Productivity.