Implement Tare+Sparsify operations

DO NOT MERGE
until tests pass