added numpy import to findCalFactor