Templatemath

For hoNDArrays: add, subtract, multiply, divide, multiplyConj