max/min

max and min methods.
in list context they return, as well, the max and min index.

I took a decision to return only one index when we have a vector (being it vertical or horizontal). This choice might not be consensual. Nevertheless, this would be my approach.

Let me know :)