cleaned up transpose and updated dependencies