working sphere example, intrinsic mean computation added
branched out mean optimization