added Karhunen Loeve Transform