Design And Optimisation of Integrated Photonic Waveguides And Sensors