Expand the Logarithmic Expression log of M^k