Add Tanh and ZNorm preprocessors

Merged Amir MOHAMMADI requested to merge p1 into master

and clean-up code.

Merge request reports