NNP_CPP using Vectors