GMS:Convert Between Linear and Quadratic