Added template/omp/broadcast version of add for hoNDArrays.
Moved pointer version of add and multiply up to the header file.