Proper implementation of the slope intercept form based on 45 deg rotated quadrants