Added rotation for lines, and fixed a bug in the Coord::rotation() implementation