worknig transpoze and action on many matrices