Create volfun.py

just here for reference