Add vectorized implementation of tanh<double>
8 files changed