fixed histogramming issue
added gitignore