first real commit
added spectrum object and code to read attenuation
added atmo density func