Added CheckForm functionality to AngleCriterion

Added test cases to make sure it works properly