Implemented NVE and PBC