MATLAB functions for computing model performance of varying kinds.