add motion_func.h to distribution