Smooth Rectifier Activation Function - Coding problem | OneNoughtOne