Merge pull request #41 from komatits/devel

improved the source code for attenuation models: fixed a double to singl...