Hello everyone this is my first post on here, I've lurked on here for a while but I thought I would join today and see if I could get some help

.
Its a 97 camry with the 4cylinder, I think its called a 5fse motor im not positive on the name of the motor.
Well a family member ran this car hot and blew a head gasket and since they didn't want to spend the money to fix it they gave it to me. Well I took the head off and sent them to the machine shop and he had to shave them down some, so im wondering if this is part of my issues. The head was warped so he shaved it down and reworked it. Well I put everything back together and go to set the timing, the main issue is the timing marks just won't line up, if you move it a teeth it goes a little bit out the other way, its like there almost lined up but not quite, oh and this is a brand new timing belt. Well I lined it up following the book and finish putting the car back together, try to start it up and it fires some but it mostly just turns over and you can hear it hit here and there. Well I try moving it a tooth the other way and it pretty much does the same thing, I'm wonder if having the head shaved down has thrown the timing off some and if there is a way to get it back in time? Oh and thanks for any advice offered.