Added some comments to categorical edits and updated notation in mixed type