changed check for OPT_LOOPS a bit, implemented Output as logger. Looks good on the checked examples sphere3d, water3d and big rayleigh for 4 threads. Will check it now on lxcluster for 16