Grobner basis methods in mixture experiments and generalisations