Testing for Collinear Points Using Determinants