Numerical study of laminar magneto-convection in a differentially heated square duct