Fixed problem in statistics point generation when in simulation mode
Removed nil pointer problem in statistics generation