Fix HOG descriptor

A few fixes along with documentation edits. Also exposing some new functions of `HOGDescriptor`.