changed regression problem to tanh