Improve coverage.

Improves coverage to 100%, according to Istanbul.

```
=============================== Coverage summary ===============================
Statements   : 100% ( 226/226 )
Branches     : 100% ( 70/70 )
Functions    : 100% ( 31/31 )
Lines        : 100% ( 223/223 )
================================================================================
```

Also, I noticed that the modifications to the variable C in getRot only seem to work in the context of the conditional, so I added braces.