Make data array multi-dimensional