for functions.py, there are a few functions needed in the main script There is Helmert Component Variance Estimation in another file