Shorten names of distance methods
Add line type with tests