squared loss should not be negative on the neural net itself