What factors affect potato yield?