removed nan check from exposure calcs, added in warning trap