Updated RandTools, inefficient methods returning dodgy results