Renamed init to popcalc.py

and added code