Updates to fix 'tanh' values issue with 'log'