implemented computeHarrisValues