function y = least_square_cp(x0,spec,unc,wl);

y=sum(abs((spec-x0(1).*(550./wl).^x0(2))./unc));
