Optimizing Magnetocaloric Properties of Heusler-Type Magnetic Shape Memory Alloys by Tuning Magnetostructural Transformation Parameters