Compare ewald sum with p3m.

Added line in pic E calc to only shuffle particles if N_cells>1