nnCostFunction!