Going to implement our own version of NDArray in ES6