Removed bugs. Careful about SymmetricMatrix class!! Everything works now.