fixed some typos in pwmdim.c