Crude implementation of the slope intercept form equation, but it'll do for now.