function LL = data_get_loadings_bootstrap(data, fcn, percent, no_rep) Inputs: fcn: a function that returns a transformed dataset which has a filled .L field percent: percentage for "training" no_rep: number of sub-samplings Output: LL: a 3-D matrix, where LL(:, :, i) is the loadings for the i-th sub-dataset used for training