Fixed missing capwords function

Capwords function was missing from previous version.  Added back here.