Probability function still isn't calculating the correct value. Just
added major refactoring to make frame class easier to use.