SEM warnings fixed and RVAR added