implemented simplified icvCaltOrientation, hopefully will run on Mali now