added data and functions to reproduce figure 7. motion comparison still needs to be written