fixed example code in README
fixed tanh tests