finish toPWM-methods.Rd
update toPWM