Fix log

Fixes the undefined log call, and gains roughly 2 seconds per sample.
why don't you use the scilifelab.log module If you're already importing it?