glucose inversion vectorisation and TEX

no if's no loops