Sigmoid-Based Binary Classifier - Coding problem | OneNoughtOne