Flatten matrices?



I asked a question about getting flat matrices in Maxima on Math Exchange.  
Perhaps someone here could take a look?

http://math.stackexchange.com/questions/349242/flatten-kronecker-product-in-cas

SOrry if the cross posting offends.  Math Ex has much better formatting, and I 
would like not to retype...

Tx!