Simplify transposing and ravling