Optimization of Biplanar Gradient Coils for Magnetic Resonance