Added a UnifiedStructuredArray class that supports single and multi dimensional arrays in a single class (but gets may be slower due to casting?)