added degree histogram output w/simple test