Write a paper about shimming the magnet in magnetic resonance imaging (MRI). Define shimming, what is the function of shimming and what is the purpose of this shimming? What are the types of shimming? Like for examples passive shimming, active shimming. With what cases we need to use shimming.