For issue #130 (closed).
When using multiple cores, a warning that only needed to appear once appeared multiple times because it was in parallel.
The warning has been removed from the atomic function and replaced outside it. Also changed the output type to numeric when all is NA (logical before).