Initialize members in constructor.
More checks.
Solve performance problems.
Fix more potential problems.
Fix the rest of the problems.
Merge branch 'master' of github.com:OpenANN/OpenANN into solve-cppcheck-issues
Merge pull request #120 from AlexanderFabisch/solve-cppcheck-issues

Solve cppcheck issues