Fixed some bugs with imag property an non-complex arrays.
Fixed some bugs with imag property an non-complex arrays.

numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor