Thanks to this forum I was able to solve my previous issues and my macro is working now. There is a slight glitch I was hoping to get some advice on:

If one of my parameters, theta, goes over 61deg the second fillet fails. If I try to add the fillets manually the center node fillets properly but the other 8 nearest nodes fail to fillet. These locations have identical geometry, so I don't understand why some parts of the model accept the fillet and some do not.

For the final version of this macro I need to be able to get theta = 65deg. I'm sooo close but not quite there.