Added chisq calculation in fixedslope fit