adding text functions and fixing typos in tf_admm