Added some implementations of element-wise ops.