Modelling Photosynthesis and Cellular Respiration