bug fixes and update for OpenMx 2.0