int main (void)
{
    while(1)
    {
        // clear arrays
        averagedArrays = 0;

        // load arrays with number + random noise
        for (i = 0; i <= (BUFFER_SIZE-1); i++)
        {
            arrayA[i] = 0x0100 + (rand() & 0x001F);
            arrayB[i] = 0x0040 + (rand() & 0x000F);
        }

        // Exercise 2; apply second order polynomial
        linearize (coeffs, &averagedArrays, &linearOut);
    }
}