Use radians and add first tests

This implements #4.

Ready?