UKF refactor.

Separate class for the scaled transform. Can specify the unscented transform function
and residual computation.