Reimplemented the polygon “top-is-flat” property and functionality. May want to switch to using doubles instead of floats at some point in the future, a little bit of round-off error has been observed