added check for dimensionality of spectroscopic values in read_spectrograms to accomodate for data acquired with polarizer.
Created by: kongjy
Previously, read_spectrograms did not take into account attenuation column in wavelength txt file associated with hyperspectral image