Add function to generate random state data from given frequencies.
Finish simulation one of type 1 error.