made lots of small changes to constraint class, global variable names, particle system initializer