Fix a lot of bugs; Beta-mismatch
Align myrand()
Fix a bug in the staff's code
Fix a bug; still beta-mismatch