Coupling of 3D Analytical Calculation and PSO for the Identification of Magnet Parameters used in Magnetic Separation