added fast class to find collinear points using sort