Reduction of Variables of Index Generation Functions using Linear and Quadratic Transformations