replace newmat with eigen, result not correct yet
bug fixed
single precision now working, but the result is not quite good, spectra exact to ~3rd digit
complex number correct