Updated documentation to be organized into sections
renamed argmin and argmax
Fixed bug with mean
More documentation updates and tweaks