fixed the several bugs of the function findClosestPoint(), and it is success to simulate a beam collision with two planes that is not pendicular to the axi.