Matrix Powers Calculator