Create nbem3.m

An extension of nbem2.m using k-fold cross validation to improve.