changed surfplot to take initial guess from xtrue