Modeling Of Liquid Crystal Display And Photonic Devices