Added LinearMockTimedFunctor to simulate timing of a linear function.