Rick

Shouldn't

eval1 = eigval(S1);
eval2 = eigval(S1);
print eval1 eval2;

be

eval1 = eigval(S1);
eval2 = eigval(S2);
print eval1 eval2;