Changed the minimizer to only calculate the gradient of the rotatable strand, instead of the entire molecule.