Added empty derivative function, test function and function call in main