Implemented RPMD ring polymer contraction