SMS dit: Modeling of Silicon and Silica Nanowires for Optical Sensing