Understanding The Relationship Between Thermal And Photochemical Isomerization In Visual Receptors