added a method to calculate the normal of a face in the terrain