updates to transpose.c