restructuring line of sight calculation
explicitly checking wall visibility
Merge branch 'newLOS'