Addresses most issues in #180. Also fixes view shrinking and out-of-place FFTs to use the proper memory space.