Spectral homogenization via Linear Regression now working with proper handling of LayerBandsAssignments.