Unit tests for interpolation result parameters.

Also add a scratch variable for BoundingSphere.fromPoints, which was previously missing.