vardark now independent of state definition. trending phase. error bars are now error-in-the-mean.