magnetic simulation software