small bug fixes

removed spectrum print statement
fixed command line argument parsing
Merge pull request #5 from jrleja/bugfix1

small bug fixes
Merge pull request #1 from bd-j/master

update