implementation of normalization schemes employed by HoG