Sampling and integration of near log-concave functions | Synapse