import motion.mat