Added __init__.py's, Changed to using range objects.
Log10'd the right thing this time.