Octahedral Distortion and Excitonic Behavior