A theoretical study of the effects governing the internal rotation process in allyl derivatives