finished basic implementation of Doppler broadening and revved to version 5