Returns current model matrix from the state.
Returns current model matrix from the state, sets given flag to true if matrix is known to be identity.