Added a distance joint class.
Fixed typos.