Real-time emulator for reproducing graded potentials in vertebrate retina