added handling for degenerate curves; fixed flattening inflection conditionals; consolidated MOAIVectorPath/MOAIVectorPoly