Fixed categories misspelling

Catagories is a misspelling of categories. Added backwards compatible spelling correction.