added LED computation, removed old
deleted unneeded files