Add sphere sampling implementation for Vec3<f64>.