An open source framework for n-dimensional hypercomplex calculations for NMR