Some smaller changes.
Made function to determine whether grammar is normed.