Patterns Of Motion: Discovery And Generalized Representation