The most operations could be done by the statistical application R free downlod at The R Project for Statistical Computing Swapping rows and columns could be done at least by multiplying with permutation matrices. best wishes, Rudolf Zlabinger