tools added

adding tools for matrix generation and plant simulation