add convert functions to MotionData.java