Add methods for max and min
Add methods for seriesMean and seriesMax
Fix bug due to use of var name "base"
Updated tutorials