Fixed a bug in RPMDIntegrator.setPositions()