added pwmfactory documentation
added complete pattern creation documentation