Fixes #3 and #4.
Modified public API of (hopefully) all classes to accept the tuple S,A,S' which replaces the
previous accepted tuple of S,S',A. In addition, modified underlying implementation in the
same way, mostly to allow handling of probability vectors without the need for strange loops.
New file ProbabilityUtils contains functions to handle probability vectors.