updated negative path weights
Merge pull request #3 from PeterAbramov888/dev_update_algoritm

updated negative path weights