Ordered and chaotic dynamics of collective variables in a butane molecule