fixed the attenuation bug detected by Paul Cristini: attenuation factors were computed in acoustic (fluid) layers even though attenuation is not implemented there, resulting in meaningless attenuation parameters that in turn could make the code become unstable in some cases