Given a two-dimensional array of integers, compute the sum of all positive elements.