Added and tested ChiSquare method of getting images' similarities