On input a vector of the appropriate size. On output the function
value at the point. If on input y is null or the incorrect size
it will be replaced with a new vector of the correct dimension.
Thrown if the input vector of parameters
beta has length different than the NumberOfParameters property.
Also thrown if the input vector x has length different than the
XDimension property.