Try to handle log of negative values this way...