slope given 2 coordinates