add length and angle between lines calc