XOR test is working with MSE, next step is to implment logsigmoid and cross-entropy loss