Renamed pvalue attribut
Added discrete fitting class