Fixed constructer not correctly making 2d array