Fixed fanned rays problem generation
Implemented node weights