avoid hard-coding important numbers
(#387)
change cutoff_func to softening_func, to avoid confusion with other variable names
(#387)