Update tex/code/sa.cpp rank -> rnk