Added brute force inversion count find.