Modeling the magnetic field emissions from a third rail system