Tidal locking calculation WIP.