MAINT: spatial.distance: generate boilerplate with macros
BUG: spatial.distance: fix unchecked malloc
MAINT: spatial.distance: further refactoring

* static on all functions in distance_impl.h
* commented out unused compute_mean_vector
* replaced &&, || with &, | in tight loops
* reindented code according to NumPy conventions
* removed some useless variables
Documented the return value for scipy.signal.find_peaks_cwt
BUG: stats.probplot incorrectly displays the value for R as R^2
DOC: Add rq to __init__, correct rq docstring.

This function works fine on rectangular and complex matrices.  No
ideal why the docstring didn't reflect that.
MAINT: ignore nosetests coverage files
ENH: sparse: faster setdiag for CSR and CSC matrices
DOC: get rid of 'import *' in examples

(Except in the Weave docs, which will get removed anyway.)
Merge pull request #4107 from larsmans/import-star

DOC: get rid of 'import *' in examples
TST: optimize: simplex shouldn't overwrite user input

Just a sanity check; didn't see the algorithm change its inputs.

Changed a test that triggered a write to Aub, which should (and is)
a copy made inside the algorithm.
Merge pull request #4103 from larsmans/sparse-setdiag

ENH: sparse: faster setdiag for CSR and CSC matrices
Merge pull request #4097 from akretz/master

BUG: stats.probplot incorrectly displays the value for R as R^2
Merge pull request #4064 from alexeyum/find_peaks_doc

Documented the return value for scipy.signal.find_peaks_cwt
Merge pull request #3948 from larsmans/distance-refactor

Big refactor of spatial.distance
Merge pull request #4109 from larsmans/simplex-test

TST: optimize: simplex shouldn't overwrite user input
BUG: optimize: fix botched test for scalars

Any row-vector or other ndarray with shape[0] == 1 was passed through.
Merge pull request #4077 from larsmans/optimize-scalar-check

BUG: optimize: fix botched test for scalars
DOC: fix typos in distance.yule
Merge pull request #4113 from gertingold/gh-4108

DOC: fix typos in distance.yule