A force field for energy calculations and protein design