Fixed Min\Max NoData bug.

Closes #398
Updated doc for clarification.
Merge pull request #403 from lossyrob/bug/minmax

Fixed Min\Max NoData bug.