Converted state vector to contain the variables in IDP.