modify findCentroid.py , and add findSlope.py and mainCentroidSingleLens.py