Fixed travellingSalesman, should be working now