Added a method to do spectral truncation.
Merge pull request #31 from ajdawson/truncation

Added a method to do spectral truncation.