Added a lot of documentation. New script ciNew.py. Bugfix concerning rounding.