Several months ago, I was looking for something like this. Then I started using bc but wasn't enough for me then I thought why not Python? It has tons of math and statistics libraries/functions and easier than shell script with bc.
So I started using Python by simply typing Python and do my stuff. It is fast enough and super productive.