Secant Method Function Matlab Code Debugger