Modelling of Photonic Wire Bragg Gratings