Use the dist function in 09-easing.
Add a 2d-distance example.
Fix tabs and semi-colons in template.