End Code Function Python Definitions For Quadrilaterals