Add functionality to access State (& StateVector) info via functors, for tupling

This is a followup from !3491 (comment 6892792)

We'd like to be able to write the information of a State to our nTuple. That means the entire state, so covariance matrix, z, and stateVector, or maybe just part of it (e.g. stateVector + z).