Fixed bug in testing
Tanh
Removed speed optimization
Add emptyAs