
Function: CUBIC
***************
  Purpose: Polynomial Fit to a cubic function
  Description: f(x) = a*x*x*x + b*x*x + c*x + d
  Parameters: a b c d

  Notes:
    This function converges with almost any starting parameters.

  C-code:
    answer =  a*x*x*x + b*x*x + c*x + d;
