Determine the r^2 values for polynomial fits of several powers
r2 = polyfitr2(x,y,powers)
Published with MATLAB® R2015a