Molecular orbital theory of the electronic structure of organic compounds. IV. Internal rotation in hydrocarbons using a minimal Slater-type basis | Synapse