Continuous functions

Closes #5, closes #6.