Matrix Power Numpy