Added transpose for matrices