Fix namespace bug, correct typos

This commit fixes a namespace issue in the procedure
entGetCachedNumPerimeterPts where the procedure getPerimeterPointCount
from the utils namespace was being incorrectly referenced.

There are also a few misspellings corrected.