Gradient amplifiers; means for controlling the application of a gradient magnetic field to the sample