fixed createOrientationHistogram index bug