Check parameters to ensure they are SDPVAR objects
Update for the new distinction between linear and nonlinear cone