python ipython to test isotropy of the distribution