checkthetasubset function

Check a subset of the parameter set theta