Added bad card logging, all card cycle ave and stddev to moving_data script