Added memory efficient kronecker sum algorithm