Influence of Orbital Behaviour and Chaos on the Shape of Dark Matter Halos