NVector testing and fixing

Doubled speed of NVector functions including pushBack, popBack ...
Found bug when compling two same functions of NVector: program size get
a lot bigger, The problem is the not correct linking of template
functions and the extern "C" statement.