KLD: Using solve () instead of inverting directly