numpy einsum performance