Initializes a new instance of the SymbolicRegressionFitness class.
The data parameter defines the function to be approximated and represents a two dimensional array of (x, y) points.
The constants parameter is an array of constants, which can be used as additional variables for a genetic expression. The actual amount of variables for genetic expression equals to the amount of constants plus one - the x variable.