Merge pull request #3 from borisyankov/master

Update fork
Making accessor have optional arguments and include index
Merge pull request #3020 from bluong/minMax

Adding index arg to accessor for min/max.  Letting args be optional