Rough NDArray implementation
test NDArray and fix issues