Grobner basis methods for structuring and analyzing complex industrial experiments