initial functionality for calculating of line direction angle has been implemented