Fabrication of Magnetic Functionally Graded Material by Martensitic Transformation Technique