Added patch #559 : implementation of neuralgas algorithm
Compared to original bug report made several changes
- Changed from C API to C++ API
- Fixed header problems
- Added std:: and cv:: if needed