Added notion of log-space used for keeping probabilities and typos corrections.
Added physics examples and tests.