Investigating an automated method for the sensitivity analysis of functions