Added revision of spectral algorithm (next should be done as a C
extension and we must study the results).
Small changes
merge done