work on calculating right-hand normal vector