Now properly calculating probabilities.
Now using a fitting datatype so, I won't waste that much memory.