add matAdd() matDiv() matPlusScaler()
write calculation for H1
resolve conflits in nearestDSmax_RE.c