Fixed exp(1+x) and log(x) vulnerability using expm1x and log1px
Merge branch 'master' of https://github.com/tschoonj/xrmc
Took care of vector basis orthonormalization when ui is null