Mathematical simulation of photophobic responses in blue-green algae