added get resolution to ap_imu_math.py