implemented dpeth based SSS, fixed various bugs
implemented triangle intersection