plugin: imu_pub: Fix magnetic vector convertions

Bug: #49.