This is the fix for issue #104
Merge branch 'kd-neg-cost' into develop