Merge inversion count + Linux utils 06/29/2014