function y = f1(x,par)
% this function evaluates a linear equation

y = par.m*x + par.b;