Some overdue cleanup.
Updated PDMath, separated out bits specific to how vertexes were being packed in our shaders.