Create chisquare_solve.m