jcublas complex ndarray fixes