normalizing using norm2
trying to figure out the magnetometer problem