Added the necessary code to calculate intensities from the B state eigenvectors.
Added the Intensity namespace to the output file.