Execute log on a matrix with OpenCL / Execute tanh on a matrix with bugs