If miata.net were up, I could point you to which wire you did this to, but here's the bad news...
You pinched a wire between engine/transmission during swap 1
OR
You pinched a wire between the valve cover and block during the timing belt change.
With any luck, it's the latter, since that will be easier to see without tearing everything apart again...