Matrix fast power algorithm  finished .