Normalize using l2. Handle multiple components in numpy version of algorithm.
Normalize using l2.
Handle multiple components in numpy version of algorithm.

--HG--
extra : convert_revision : svn%3A3ed01bd8-26fb-0310-9e4c-ca1a4053419f/networkx/trunk%401654

aureooms/networkx,blublud/networkx,yashu-seth/networkx,farhaanbukhsh/networkx,debsankha/networkx,chrisnatali/networkx,dhimmel/networkx,kernc/networkx,RMKD/networkx,aureooms/networkx,nathania/networkx,ionanrozenfeld/networkx,ltiao/networkx,kai5263499/networkx,harlowja/networkx,nathania/networkx,wasade/networkx,dmoliveira/networkx,dhimmel/networkx,sharifulgeo/networkx,chrisnatali/networkx,farhaanbukhsh/networkx,blublud/networkx,bzero/networkx,bzero/networkx,ionanrozenfeld/networkx,chrisnatali/networkx,andnovar/networkx,tmilicic/networkx,jakevdp/networkx,aureooms/networkx,ghdk/networkx,ghdk/networkx,goulu/networkx,nathania/networkx,jcurbelo/networkx,bzero/networkx,kai5263499/networkx,jakevdp/networkx,farhaanbukhsh/networkx,harlowja/networkx,sharifulgeo/networkx,kernc/networkx,Sixshaman/networkx,JamesClough/networkx,jfinkels/networkx,debsankha/networkx,kernc/networkx,debsankha/networkx,jni/networkx,dhimmel/networkx,cmtm/networkx,blublud/networkx,beni55/networkx,jni/networkx,ionanrozenfeld/networkx,jtorrents/networkx,jni/networkx,dmoliveira/networkx,harlowja/networkx,jakevdp/networkx,jtorrents/networkx,NvanAdrichem/networkx,SanketDG/networkx,RMKD/networkx,sharifulgeo/networkx,dmoliveira/networkx,michaelpacer/networkx,OrkoHunter/networkx,ghdk/networkx,RMKD/networkx,kai5263499/networkx