shed checking the unit testing and fixed all obious errors. Still haven't tried eigenvalues calc.s alone, but think they work, or they er easy to fix.