Update radials.py

wrote a histogram.

todo: write test of g()