def stratified_sampling1(M,nsims): array=np.empty(nsims) array=lh.sample(M,nsims) array=norm.ppf(array) return array.reshape(M,nsims)