changes needed for ComplexJCublasNDArray