Adding OCR version of vector reduction kernel.