add ofToDouble to ofUtils. close #1489.

another low-hanging issue.

closes #1489.