Fixed reference point checking slope with itself
Please enter the commit message for your changes. Lines starting