Study of Dielectric Barrier Discharges Using the Particle in Cell Code MAGIC