Removed reference to libextra, librand is now a separate library
Changed direct indexing to using get
Updating to latest master.