Still has major bugs to be fixed, but it at least runs from start to finish now. The plots it outputs are broken though