Added combinatoric math functions to math.sh
Merge remote-tracking branch 'origin/master'