Added log transformation to layer