Smoothness Penalty P=T1∑t=1T(xt+1−xt)2+(xt−xt−1)2((xt+1−xt)−(xt−xt−1))2 From this we get nice properties such as enforced angle smoothness enforced constant velocity partly enforced noise cancellation