M117 improvements

Added test_sparse_arrays example.