Change hypersphere.sample to generate multiple samples.