On computing high-dimensional Riemann theta functions