A Study of Deflagration To Detonation Transition In a Pulsed Detonation Engine