renamed numSamples to samples. data inference prototype.
removed $d field for inner nodes (was empty) and added {samples: 'all'} convenience option, same as 0 (no limit).
replaced $type with the correct $t.
improved README.
bumped version to 0.0.2