Use local memory in wourkgroups instead of global. Two-stage reduction of returned chi2. float8 seems to be the fastest. Now 60 times faster than Eigen fitter.