Approximate Multidimensional Integration Through Dimension Reduction via the Ostrowski Functional