Update Form1.cs

Fixed use after free issue with byte arrays, switched to MersenneTwister instead of .NET CSRND due to "issues" inherent with .NET