Added sympify converter for ndarray and modified 1d and 2d array tests slightly to get them to pass.