Remove double-underscores + comment about code provenance
axis argument to min_max_axis
Compatibility fix for scipy 0.14
Refactored raising the error type