Updated complexity calculation to compensate for fix and variable path segments.
Merge pull request #15 from mertenvg/fix/sort

Updated complexity calculation ...