function err = eval_error(phi_w, ground) err = norm(phi_w(:) - ground(:), 2)/norm(ground(:), 2); end