Fix ordering bug causing compilation failure
Added PEAR statistical test