Moved by-element multiplication to array operations