Particle-in-Cell code using the moment-implicit method