Update calculateSpectralMultilayerProperties.m