modified readstudy.m to eliminate need for order in spreadsheet records