Moved initializations of output data
Fixed flip table generateion
Added code to check if a flip actually occured
Fixed index generation. Not quite sure what happened
Changed stat_dat so that it has more consistant output.
Added fourth subplot to show torquer status
Added debuging code to display info