Added StateHistory class to ladim2