Calculate coords for lines between tracks