initialize

Initializes the state back to new

  • enter/exited time/time first entered = Double.NaN

  • total time in state = 0.0

  • enter/exited count = 0.0

  • sojourn statistics reset if turned on