Taylor rule and euler equation collinear

You did not provide the external functions to run the code. Most likely the issue is related to: