Fixed issue with conversion to natural OpenMM units in construction of custom energy expressions.