total rotamer calculation added