Fixed totalLength and first try on 2-opt.
Merge remote-tracking branch 'origin/master'