Initial tidying and merging motion data