Text this: TinO2n−1 Magnéli phases studied using density functional theory