Added histogram, updated find max for utils