Finished first try of splitting and merging. Need to test it now (along with graphing).