A Lattice Model for Computing the Transmissivity of the Cornea and Sclera