Fix bugs in ComputeHarrisFeatures