Modeling the front-end of the visual system to coordinate with WavefrontOptics and vset