Function and Linearity Analysis