Correctly interpret logical matlab arrays as booleans when mat_dtype is set
BUG: memory leak fix in convolve2d.
Merge pull request #508 from gustavla/master

BUG: signal: memory leak in convolve2d
MAINT: cluster: Remove unused imports, unused variables and commented-out code from hierarchy.py
Merge pull request #510 from WarrenWeckesser/cluster-cleanup

MAINT: cluster: Remove unused imports, unused variables and commented-out code from hierarchy.py
DOC: io: update code comment and whosmat docstring
Merge pull request #504 from batterseapower/master

ENH: io: Present loaded logical Matlab arrays with a boolean dtype

There was already some code which attempted to do this in the Matlab
file reader, but it was broken. To be specific, the old code assigned to
a dtype to a local variable bool_dtype rather than self.bool_dtype, and
so later attempted uses of that dtype would be null/None and so would
not have an effect.

This change makes also the writer set the logical flag if you write out
an array of bools.
BUG: special: add a missing term in the asymptotic expansion of Fresnel C/S