fixed some data processing issues... though there still appear to be some problems with the samples not lining up