Modeling magnetic fields of magnetron sputtering systems