Added `degrees()` function
Closes #40