Fix path appending.

metaclass.py was not found if filecheck was executed from another
directory. This commit fixes it.
Added code coverage, profiler and a new testcase
Improved PhaseMean in GetLLM

Removed unnecessary sqrt(),mean() and **2.