calculateAffineMat now expects 6 points
2