regStats: add a comment to the header
regStats: new metric and move common functions to library
regTransitions: record strain-to-strain state transitions