misc edits
Add indexed get methods
remove conditional check from indexed get (performance enhancement)
Better randomisation of tests with deterministic seeds