added a mathutil class, you can now resize the batches sizes easily, also added random particles