Inertial Magnetic SLAM Systems Using Low-Cost Sensors