Overhaul

RootTools no longer used, own root function added.