Storing sparse arrays instead of dense ones. This change had to replace json with cPickle.