Revert "updated upstream version and patches and fixed Rsample accordingly"
some functions (e.g. isosurface do not work properly anymore)

This reverts commit 005c706542ae42486a1f90ca17aebe24495ead32.