A theoretical model to explain the mechanism of lightwave propagation through non-metallic nanowires