Runtime Warning

I am getting a run time warning when i try to run my code and compute final theta and error_list
here is the link to my algorithm

Please help me in pointing out the mistake I have committed