HOG module and hidden markov model forward/backward algorithm upload