updated to pull request #15 for opencobra