added the ability to handle quantities in from_array. this was already in the
documentation but was not obeyed
Merge pull request #98 from wkerzendorf/spectrum/fix_from_array

added the ability to handle quantities in from_array