Added allocVector(), allocMatrix() and allocArray()