implemented NArrayDouble resizing.
Merge pull request #1 from iamtrask/master

implemented NArrayDouble resizing.