Fix computation of outer-stride when calling .real() or .imag()
Add a unit test for Ref.h and fix an extra copy.