fixed minor bug in openmm_wrapper.cpp