removed unnecessary files, removed log from algorithm, which speeds it up about 3 times