Calculate qnew!!!