change '.' from dot-product to logarithm.
'.' is now logarithm.