formula_stress_test: statistical functions

Still missing 4 functions that require array form