modify the impact of the function  "isFreeField", still have bug for the function "getWideAnglePoints"
delete some useless codes.