Ray-transfer matrix for GRIN lenses: application to the crystalline lens