removed redundant eltype definitions for darray and sharedarray