size.test.gen function

Sample size for a test of any type of parameter