Porosity Gradient Resulting from Localised Formation of Porous Silicon: The Effect on Waveguiding