added tourlength calculation