Random number sequence test and entropy calculation
