added sd and kd to cmakelists
fixing bugs in spectral, starting to work on new readme