added Min & Max; updated math.md docs