The computation of magnetic fields of permanent magnet cylinders used in the electrophotographic process