NAG Optimization Algorithm Speeds up Configuration Testing of Powerful MRI Magnet and Helps Secure Development