Distortion in the surface layers on nematic liquid crystals: an elastic constant approach