Added patch #559 : implementation of neuralgas algorithm
Compared to original bug report made several changes
- Changed from C API to C++ API
- Fixed bugs in header and cpp file when occuring