genRandomFuns function

Generate multiple versions of a function with randomly chosen parameters