added more sophisticated file management and tweaked interface
cleaned up countAllTriangleTypes.py and createLaggedMatrices_days.py