Fixed potential problems in creating ModelSpec when stepVars or allVars with same optVarIdx have different field population by setting all fields the same.  Function consolidateStepVars was created for this purpose.
Fixed potential problems in creating ModelSpec when stepVars or allVars with same optVarIdx have different field population by setting all fields the same.  Function consolidateStepVars was created for this purpose.

Now throws errors when negative handles are found to alert user of disconnected wires.

MPC-Berkeley/BLOM,MPC-Berkeley/BLOM,MPC-Berkeley/BLOM