Magnetic resonance imaging :theory and practice