Text this: A systematic DFT study of structure and electronic properties of titanium dioxide