Zaslat SMS: Mathematical methods for the magnetohydrodynamics of liquid metals