created new file for findCalFactor.py so that it can be called without python shell