Fixed bug in coverage, added simple plotting functionality, wrote part of constructor for StatisticalTest