Update stats.py and add a document with functional requirements

Added changes to stats.py (this file will be deleted in the future) and
created a file with a list of functions per module of the project
Added calculation functions to calculate.py

Added empty calculation functions to the calculate.py module. These
functions will be filled up with the actual code later.