fixed code to not set original image values to 0 in findMaxPixLoc.