Matrix_power

Added matrix_power function.