Added routine to calculate CIE RGB colour from spectrum. Still needs testing!