Fixed slope edge case
Merge branch 'master' into gh-pages
Fixed slope edge case