Fills the result array with random sphere variates using the provided random generator gen (or pointer to gen).
Fills the result array with random sphere variates using the provided random generator gen (or pointer to gen).