removed unused function evalLinear.m