more informative error messages for reshape and reinterpret
Merge pull request #4765 from davidssmith/master

more informative error messages for reshape and reinterpret