Six-degree-of-freedom Localization Under Multiple Permanent Magnets Actuation