Photosynthesis Model with variable sample sizes