A single retinal circuit model for multiple computations