Design and optimization of elliptical small dedicated permanent magnets for Magnetic Resonance Imaging