Chain Gear Bug Fix

Fixed the chains of gears rotation problem using a recursive iterator
and root to branch nodes. Drawn from HeatMap v2.0 Beta repurposed and
stripped of the clear-all blanket function.