small bug fixes

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

small bug fixes