online device MEMS accMagnet orientation developed