Rewritten a majority of the tool to have a clear process structure and to accomodate multiple data sets.