BIG SPEED INCREASE: changed histogram - now uses += instead of array_merge to add points. array_merge was bogging down with large datasets