An adaptive algorithm for the approximate calculation of multiple integrals | Synapse