Surface Mediated Nonlinear Optic Effects In Liquid Crystals