Functionality of the data analysis is almost complete, no input checking
currently