Change complexarray to 1D