bug fixes

mainly bug fixes routines for attenuation on GPUs to get correct results; adds some minor bug fixes on output infos and file outputs