BUG: Remove xrange that slipped into test_numeric.py.
STY: Fix trailing whitespace and replace test doctrings by comments.