Cleaning up and adding documentation to problem class. Added error checking of variables, parameters, constraints, and objectives. Updated checkVaraible method to work with new SymVariable and SymExpression classes. Removed old clutter.