I am trying to find the affine matrix for two triangles. For some reason, I get an error saying that one of my triangle vectors does not have 3 values. Here is my code: