merge in histogram code
ignore pyc
add figs folder