A Numerical Study Of Detonation And Plume Dynamics In A Pulsed Detonation Engine