Design rules for polymer waveguides and measurement techniques