Adaptive Hyperbolic Tangent Transformation - Coding problem | OneNoughtOne