Modelling motion primitives and their timing in biologically executed movements