Added numjs.array function to construct initialized NDArray
Use numjs.array in tests instead of NDArray.set
Proper JSDoc 3 documentation comments
Use === in length comparisons