Imporved Probability class with template. Updated State to reflect that. Added transitions directly to State classes.