refactored to use mat_file in h5 file - no longer need to find matching subject file