A Computational Study of the Wallach Rearrangement