re-vitalised random indexing method
Updated python API with RI method - added some test measures.