The application of Hadamard masking for multi-dimensional studies in the visible and near-infrared spectral regions