An extended Karhunen-Loeve decomposition for modal identification of inhomogeneous structures