POJ 3233 Matrix Power Series