Add astype to ndarray.
Merge pull request #17 from awishnick/master

Added astype to ndarray