[parameters.base] add/imporove error messages
[functions.basic] add LincombFunction
[functions.basic] add FunctionBase and inherit from it