Fixed ticket #1075 for lil_matrix, added fancy slice indexing and added test
to confirm 1075 was fixed and fixed slicing tests.
Added test to test_lil_sequence_assignment and fixed code to pass test.
Attempted to fix bugs seen with sparse_test_class()
Fixed another thing for S[1:5, 0] = range(1, 5)y
Integrated test_base.py from gh-426, added tests for new indexing and added
matrix indexing functioning.
BUG: Fix the automatic frequency selection of scipy.signal.bode.
The automatic selection of the frequencies could miss zeros or resonance peaks, so use the existing function scipy.signal.findfreqs instead of _default_response_frequencies.

Specific changes:
* Modifed the function scipy.signal.bode to use scipy.signal.freqs.
* Added a docstring to scipy.signal.findfreqs.
Updated test suite based on pull request comments. Still needs fixing at
line 1227 where C is undefined.
Updated code using ravel() and now able to set values based on an array. A
tradeoff has to be made between code duplication and memory usage. Making
everything into the same shape would be the most elegant, but A[:, :] = 1
would generate three arrays (i, j, x) all having the same size as A. If there
is desire to simplify the code, that can be easily done.
Rewrote __getitem__ to be more readable and reduce code duplication.
Copied code from __getitem__ to __setitem__ . This fixes one error in
test_base and brings up a new error:

line 1172
A[1:3, 1] = [[10], [20]]
now works

line 984
A[1:5, 0] = range(1, 5)
is now broken

line 984 does not work for NumPy matrix objects, so I think that test should
be deleted. I'm leaving that alone for now.
Remove unused import.
DOC: copy-edit the description of the check_finite argument in several linalg functions.
Remove unused imports and variables.
Fixed #1429: pip install numpy scipy was failing because of the preinstallation request from pip to scipy.setup egg_info, before numpy actually is installed
ENH: add a choice of methods for ranking ties in stats.rankdata
ENH: add the 'ordinal' method to stats.rankdata.
ENH: Improve the performance of the 'ordinal' method of stats.rankdata.
Merge pull request #444 from WarrenWeckesser/linalg-tweaks

Linalg tweaks and cleanup.
ENH: sparse: add missing sqrt method
Merge pull request #450 from larsmans/sparse-sqrt

ENH: sparse: add missing sqrt method