WIP: Implement cot as a ReciprocalTrigonometricFunction

fixes #7917