bug fix in lincal such that when starting without logcal, it will always input the correct chisq in its place even if it cannot improve it. minor test change to allow numerical noise