Fixed a small bug in the harris code.