fix bug for fractional spins
function for visualizing a spin distribution function on the unit sphere