implemented dyadic transpose, fixed #39