fixed DataVector to DataArray constructor