Made the ndarray wrapper x64-compatible.