Replace numpy with built-in statistics module (new in python 3.4).