Worked on Issues in Frequency Test Analyzer

Made a temporary fix to the static problem in Frequency Test Analyzer.
Tried to fix CalcDeviation but didn’t get the chance to fix it
completely. Still fail the last two tests.