MATLAB classes and functions for high-dimensional physiological datasets