Constructing cubature formulae: the science behind the art | Synapse