Changed the way the functions operate the spectrometer
Update structs.py
Merge pull request #2 from ninloth/changing

Adding the changes to the master