speeds up calculation of gene-level measurements