How to determine if points are a rhombus, square or rectangle