Fixed several bugs in mlutils tools.  Testing neuralnet for robustness.