Add missing header and compilation fixes.
Add unit test for the computation of second moment matrix.
Fix test name.
Merge pull request #137 from DO-CV/maint-test-second-moment-matrix

[MAINT] Add unit test for the computation of second moment matrix.