[ocplib] Added exceptions support for annotateCube. Bug Fixes for cubeLocs