Completed isCollinear