Lexis2msm function

Convert a Lexis obejct to a data set suitable for input to the msm:msm function.