documentation added to quartile.py