test
Added intersection check, integrated with terrain's depth in simulation
Resolved the Makefile problem