The effects of 5f localization on the electronic and magnetic properties of the hexagonal U3ZrSb5