Hello Jack. I looked up spherical coordinates. That is a lot of interesting math over my head. Honestly, I think they just coded it incorrectly for the way the camera is mounted. If the camera is upside down (yes, I know the camera is not weather rated for upside down operation) it works...