1. A method for calculating an Nth order power series for a matrix comprising: (a) assigning a first memory area for storing the matrix; (b) assigning a second memory area and a third memory location for storage of a previous power term and a current power term; (c) assigning a fourth memory area for storage of a partial sum of the series; (d) assigning a first pointer to point to a current power term and a second pointer to point to a previous power term; (e) initializing the first, second, third and fourth memory areas; (f) calculating a current power term by forming the product of the matrix stored in the first memory area and the previous power term referenced by the second pointer; (g) storing the calculated current power term in the memory area referenced by the first pointer; (h) updating the partial sum stored in the fourth memory location by adding the contents of the memory area referenced by the first pointer to the partial sum stored in the fourth memory area; (i) updating the previous power term by exchanging the first and second pointer references; (j) repeating steps (f)-(h) as a function of the order N.