Fix Bug in runAnalysis

Fixed Bug in runAnalysis so that the function usage matched the
function signature
Formatting pep8 compliant