Removed unwanted commented code from kd2.cpp
Removed unwanted commented code from kd2.cpp. Modified main to call kd2
made nnpMax and nnpMin variables static