Ah, APL. I remember a network synthesis EE course in the 70s where we had an assignment to implement matrix exponentiation. I had just finished a matrix algebra class and learned APL in the process, so my implementation was 2 lines of APL. Those where the days...