better motion tracking, now with coefficients