functions for computing the Sullivant-Talaska-Draisma UW decomposition