Optimize sphere sampling code using trig identity