added a log transform
I've been very naughty and haven't commited in ages