Problem in drawing surface plot of linear regression

This is the link of my code - https://drive.google.com/file/d/15G38J-sUPnVpezXBr222HNM2NJtN_qNZ/view?usp=sharing . I am not getting the correct surface plot, even thought I wrote the same code as of sir, Please tell the error.