Analysis of the 4d9 5d, 4d8 5s2 and 4d9 6s Configurations of In IV and Sn V