added support for computeO
Merge pull request #13 from whyi/computeO

added support for computeO