fix compile bug in computeShapeBoundingSphere for cylinder.

Also change variable names for clarity.
add unit tests for computeShapeBoundingSphere()
fix path for test resources