Added new functions to get opt
Merge branch 'master' of https://github.com/tzhenghao/GetOptsSimulator