Spin polarization in a freely evolving sample of cold atoms