Motion parameters 2

Replaces https://github.com/drothlis/stb-tester/pull/45.