Add type validation back to fix unit tests.
Remove prints to improve readability and silence output.
Need to allow lists in Sparsity constructor type checks