added 2 and 3 dimensional array allocation/creation functions