Fixes Issue #170 (multidimensional array bug)

Previously `AutoArrayProvider` created only single dimension arrays. After this PR `AutoArrayProvider` creates arrays with any dimension based on arrays rank.