ex4
ex4 nnCostFunction