Replacement for @raoulb pr#914

See #914

ToDo:
- [x] tests
- [x] final rebase
`cot` is also a `ReciprocalTrigonometricFunction`, at least mathematically.
Why is this implemented differently?