Triangulation not working properly; paintVertices not working properly either. Cant really explain what i'm doing