Templatemath

Refactoring hoNDArray_elementwise to unify the low level implementations.  First step is the multiply function and the *= operator.