Update nn_index.h

Correct spelling