Sum query on a Multi D array

In reply to warnerrs:

Works for me. The simulators on EDAPlayground are outdated.