NDArray: use data() function to access vector data
NDArray: delegete access with NDSize to size_t arg
NDArray: use memcpy instead of reinterpret_cast
Merge pull request #386 from gicmo/nd_polish

Small NDArray improvements