fixed some bugs in ripintensity.py
cleaned up directories