The Effect of a Magnetic Field on the Melting of Gallium in a Rectangular Cavity