Snippets of implementation for probability funness.