Fixed getIMUData function in python interface