Created a makefile for the main program file aswell as made the whole program run. Found out that function overloading isn't possible in the way I did it, so I renamed some of the functions getVARIABLE and setVARIABLE, where VARIABLE represents the corresponding variable. Next time I will create a python script to plot data and see if the calculations I have done make any sense at all.