Merge pull request #427 from MarcCote/fix_streamlinespeed

Support read-only numpy array.
Revert "Support read-only numpy array."
Merge pull request #430 from nipy/revert-427-fix_streamlinespeed

Revert "Support read-only numpy array."
Change the writeable flag back to its original state when finished.