Extended Cube.intersection to support bounds which extend slightly beyond 360 degrees.

This work came from a bug report from @cpelley.