Merged content of extract_impl.hpp into extract.hpp
Preallocating descriptors matrix

Can be done for descriptors but not (yet) for vocabulary because
HOG produces descriptor matrices of variable size.
So for vocabulary the descriptors matrices are firstly computed
and then merged.