Added method to get Min & Max

This has not been tested, comment in getMinMax() method call to test.