Added implementation of getAngle for Line