added NaN test for elt_multiply