Modelling and fabrication of Geiger mode avalanche photodiodes