Move transpose to basic.go