A Parallel Simulator of Quench in Superconducting Magnets