Add CPU version of chisquare fit.
Add OMP support to simpleFit example, change plot format to png.