Normalised spectrum

Implements the normalised spectrum in a new function called "normalisedSpectrum".