It’ cool idea. That magnets was always the source of troubles for me to do some signal processing, but they’ve used it in very creative way. But I think that three ore more magnetic compasses are needed to track 3D movement accurately.