Removed a fence from ta_sparse.
Modified the print statements in ta_sparse to remove excess if statements.