putting doHess as doHesse option rather than ndim
r-spacing