added matrix like state, added more gui options for flocking state, as well as saving and loading from binary file