added spectrum_pi function.  sorry!
Merge pull request #32 from nwlambert/master

added spectrum_pi function.  sorry!