A computer based culturing system for measuring the photosynthetic response of phytoplankton to a fluctuating environment