more header  stuff
fixed all compiler errors for spectral conversion