reverted parallelization
fixed shrinkfun and angtol in gaussDisplace