Convection in a Fluid Layer Heated from Below in the Presence of Homogeneous Magnetic Fields