added my_transpose to return a transpose matrix