remove unneeded functions and imports from admm