add devectorize_ewise function