Text this: Effective demagnetizing tensors in arrays of magnetic nanopillars