Bounded Linear Activation Function - Coding problem | OneNoughtOne